<template>
  <div class="nav">
    <div class="navbox">
      <ul>
        
          <router-link :to="{name:'Home'}"  class="nav-item" >首页</router-link> 
       
       <router-link  :to="{name:'allmonth'}"  class="nav-item">包月鲜花</router-link>
        <router-link  class="nav-item" to="/nav1">礼品花束</router-link>
        <router-link    :to="{name:'zhiwu'}"  class="nav-item" >植物多肉</router-link>
        <router-link class="nav-item" to="/nav1">F+制物所</router-link>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  props: {},
};
</script>
<style lang="scss">
.nav {
  background-color: #fff;

  height: 0.82rem;
  top: 0;
  width: 100%;
  .navbox {
    position: fixed;
    z-index: 999;
    background-color: #fff;
    // margin-bottom: 50px;
    height: 0.82rem;
    top: 0;
    width: 100%;
  }
  ul {
    display: flex;
    justify-content: space-around;
    text-align: center;
    line-height: 1.5;

    .nav-item {
      flex: 1;
      height: 0.8rem;
      line-height: 0.8rem;
      font-size: 0.31rem;
      letter-spacing: 0.04rem;
      color: #333333;
      padding: 0 0.2rem;
      display: inline-block;
      font-weight: 1000;
      box-sizing: border-box;
        text-decoration: none;
          text-align: center;
    }
  }
}


.routerActive{
     border-bottom: 0.04rem solid #000;
}
</style>